package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.provider.model.domain.OpcFlowMessage;
import com.csun.cmny.provider.model.domain.OpcMessagePushWay;
import com.csun.cmny.provider.model.dto.message.FlowMessageQueryDto;
import com.csun.cmny.provider.model.dto.message.MessagePushWayQueryDto;

import java.util.List;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-11-07 10:52
 * @Description:
 */
public interface OpcMessagePushWayService {

    /**
     * add opc message push way
     *
     * @param opcMessagePushWay the opc message push way
     * @param loginAuthDto      the login auth dto
     *
     * @return  the int.
     */
    Integer add(OpcMessagePushWay opcMessagePushWay, LoginAuthDto loginAuthDto);

    /**
     * edit opc message push way
     *
     * @param opcMessagePushWay the opc message push way
     * @param loginAuthDto      the login auth dto
     *
     * @return  the int.
     */
    Integer edit(OpcMessagePushWay opcMessagePushWay, LoginAuthDto loginAuthDto);

    /**
     * delete opc message push way
     *
     * @param id    the id
     *
     * @return  the int.
     */
    Integer deleteById(Long id);

    /**
     * query opc message push way
     *
     * @param messagePushWayQueryDto    the message push way query dto
     *
     * @return  the list.
     */
    List<OpcMessagePushWay> queryListWithPage(MessagePushWayQueryDto messagePushWayQueryDto);
}
